package com.example.repository;

import com.example.entity.Sentence;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface SentenceRepository extends JpaRepository<Sentence,String> {

    List<Sentence> findByTopicId(String topicId);
}
